class ForumsController < ApplicationController
  filter_access_to :all

  def show
    @forum = Forum.find(params[:id])
  end

  def new
    @forum = Forum.new
  end

  def create
    @forum = Forum.new(params[:forum])

    if @forum.save
      flash[:notice] = "Forum successfully created"
      redirect_to forum_url
    end
  end

  def edit
  end

  def update
  end

end
